package com.ruicar.afs.cloud.afscase.approveocr.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ruicar.afs.cloud.afscase.approveocr.entity.ApproveOcrBatch;
import com.ruicar.afs.cloud.afscase.approveocr.entity.ApproveOcrCompare;
import com.ruicar.afs.cloud.afscase.channel.common.ChannelWitnessCondition;
import com.ruicar.afs.cloud.afscase.infomanagement.entity.CaseContractInfo;
import com.ruicar.afs.cloud.afscase.loanapprove.vo.LoanOcrResultVO;

import java.util.List;

/**
 * @Description ocr影像识别比较数据service
 * @Author rongji.zhang
 * @Date 2020/08/15 17:38
 */
public interface ApproveOcrCompareService extends IService<ApproveOcrCompare> {

    /**
     * @Description ocr机动车发票识别比较数据
     * @Author rongji.zhang
     * @Date 2020/08/15 17:38
     */
    void getInvoiceCarOcrCompare(CaseContractInfo contractInfo, ApproveOcrBatch approveOcrBatch);


    /**
     * @Description ocr银行卡识别比较数据
     * @Author rongji.zhang
     * @Date 2020/08/15 17:38
     */
    void getBankOcrCompare(CaseContractInfo contractInfo, ApproveOcrBatch approveOcrBatch);

    /**
     * @Description ocr身份证识别比较数据
     * @Author rongji.zhang
     * @Date 2020/08/15 17:38
     */
    void getIdFrontOcrCompare(CaseContractInfo contractInfo,ApproveOcrBatch approveOcrBatch);

    /**
     * @Description 获取OCR验证结果
     * @Author rongji.zhang
     * @Date 2020/09/21 17:38
     */
    List<LoanOcrResultVO> getOcrResult(ChannelWitnessCondition condition);
}
